package com.woniu.guoguo.dao;

import com.woniu.guoguo.model.MenuCommentsImg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Richie
 * @since 2020-11-04
 */
public interface MenuCommentsImgMapper extends BaseMapper<MenuCommentsImg> {

    @Select("select img_path from menu_comments_img where menu_comments_id=#{id}")
    List<String> findCommentsImgByCommentId(Integer id);
}
